/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package assignment1;

/**
 *
 * @author Christopher
 */
public class BoardPosition {
    
    private int m_row;
    private int m_column;
    
    
    BoardPosition()
    {
        
    }
    BoardPosition(int row, int column)
    {
        m_row = row;
        m_column = column;
    }
    public int row()
    {
        return m_row;
    }
    
    public void row(int row)
    {
        m_row = row;
    }
    
    public int column()
    {
        return m_column;
    }
    
    public void column(int column)
    {
        m_column = column;
    }
    
    public boolean equals(BoardPosition position)
    {
        return (this.row() == position.row() && this.column() == position.column());
    }
    
}
